//
//  SourceItem.h
//  iTunes Playlist Selector
//
//  Created by Keith Duncan on 20/05/2007.
//  Copyright 2007 thirty-three. All rights reserved.
//

#import <Cocoa/Cocoa.h>

@interface SourceNode : NSTreeNode {
	NSString *_name;	
	NSUInteger _type, _position;
}

+ (id)sourceNodeWithName:(NSString *)name representedObject:(id)representedObject;
- (id)initWithName:(NSString *)name representedObject:(id)representedObject;

- (void)setType:(NSUInteger)type position:(NSUInteger)positon;

@property(copy) NSString *name;
@property NSUInteger type, position;

@property(readonly) NSImage *image;

@end
